/**********************************************************************************
 * Code license:  GNU General Public License v3                                   *
 * Main page:     https://code.google.com/p/library-cross-platform/               *
 * Issue tracker: https://code.google.com/p/library-cross-platform/issues/list    *
***********************************************************************************/

package library.ui;

public class LabelElement extends Element
{
  protected String text = "";
  
  public LabelElement() {
    super(TEXTLABEL_TYPE);
  }

  public LabelElement(String str) {
    super(TEXTLABEL_TYPE);
    setText(str);
  }
  
  public void setText(String text) {
    this.text = text;
  }
  
  public String getText() {
    return text;
  }
}